package sjd.ahsj.springbootmybatisplusoracle.service.impl;

import sjd.ahsj.springbootmybatisplusoracle.entity.Anime;
import sjd.ahsj.springbootmybatisplusoracle.mapper.AnimeMapper;
import sjd.ahsj.springbootmybatisplusoracle.service.IAnimeService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 动漫 服务实现类
 * </p>
 *
 * @author zhanghaogao
 * @since 2018-09-18
 */
@Service
public class AnimeServiceImpl extends ServiceImpl<AnimeMapper, Anime> implements IAnimeService {

    /**
     * 减少订阅
     *
     * @param id
     * @return
     */
    @Override
    public int delSubscription(Long id) {
        return baseMapper.delSubscription(id);
    }
}
